﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007E7 RID: 2023
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueEndlessActivityDataScRsp : IMessage<GetRogueEndlessActivityDataScRsp>, IMessage, IEquatable<GetRogueEndlessActivityDataScRsp>, IDeepCloneable<GetRogueEndlessActivityDataScRsp>, IBufferMessage
	{
		// Token: 0x170019B7 RID: 6583
		// (get) Token: 0x06005AC0 RID: 23232 RVA: 0x000F3C4F File Offset: 0x000F1E4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueEndlessActivityDataScRsp> Parser
		{
			get
			{
				return GetRogueEndlessActivityDataScRsp._parser;
			}
		}

		// Token: 0x170019B8 RID: 6584
		// (get) Token: 0x06005AC1 RID: 23233 RVA: 0x000F3C56 File Offset: 0x000F1E56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueEndlessActivityDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170019B9 RID: 6585
		// (get) Token: 0x06005AC2 RID: 23234 RVA: 0x000F3C68 File Offset: 0x000F1E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueEndlessActivityDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005AC3 RID: 23235 RVA: 0x000F3C6F File Offset: 0x000F1E6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueEndlessActivityDataScRsp()
		{
		}

		// Token: 0x06005AC4 RID: 23236 RVA: 0x000F3C90 File Offset: 0x000F1E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueEndlessActivityDataScRsp(GetRogueEndlessActivityDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.fEJEDBDGPAF_ = other.fEJEDBDGPAF_;
			this.data_ = other.data_.Clone();
			this.eGHOACJOIEI_ = other.eGHOACJOIEI_;
			this.fEIBKNDNJAH_ = other.fEIBKNDNJAH_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005AC5 RID: 23237 RVA: 0x000F3CFA File Offset: 0x000F1EFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueEndlessActivityDataScRsp Clone()
		{
			return new GetRogueEndlessActivityDataScRsp(this);
		}

		// Token: 0x170019BA RID: 6586
		// (get) Token: 0x06005AC6 RID: 23238 RVA: 0x000F3D02 File Offset: 0x000F1F02
		// (set) Token: 0x06005AC7 RID: 23239 RVA: 0x000F3D0A File Offset: 0x000F1F0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170019BB RID: 6587
		// (get) Token: 0x06005AC8 RID: 23240 RVA: 0x000F3D13 File Offset: 0x000F1F13
		// (set) Token: 0x06005AC9 RID: 23241 RVA: 0x000F3D1B File Offset: 0x000F1F1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FEJEDBDGPAF
		{
			get
			{
				return this.fEJEDBDGPAF_;
			}
			set
			{
				this.fEJEDBDGPAF_ = value;
			}
		}

		// Token: 0x170019BC RID: 6588
		// (get) Token: 0x06005ACA RID: 23242 RVA: 0x000F3D24 File Offset: 0x000F1F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueEndlessAreaData> Data
		{
			get
			{
				return this.data_;
			}
		}

		// Token: 0x170019BD RID: 6589
		// (get) Token: 0x06005ACB RID: 23243 RVA: 0x000F3D2C File Offset: 0x000F1F2C
		// (set) Token: 0x06005ACC RID: 23244 RVA: 0x000F3D34 File Offset: 0x000F1F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EGHOACJOIEI
		{
			get
			{
				return this.eGHOACJOIEI_;
			}
			set
			{
				this.eGHOACJOIEI_ = value;
			}
		}

		// Token: 0x170019BE RID: 6590
		// (get) Token: 0x06005ACD RID: 23245 RVA: 0x000F3D3D File Offset: 0x000F1F3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FEIBKNDNJAH
		{
			get
			{
				return this.fEIBKNDNJAH_;
			}
		}

		// Token: 0x06005ACE RID: 23246 RVA: 0x000F3D45 File Offset: 0x000F1F45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueEndlessActivityDataScRsp);
		}

		// Token: 0x06005ACF RID: 23247 RVA: 0x000F3D54 File Offset: 0x000F1F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueEndlessActivityDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.FEJEDBDGPAF == other.FEJEDBDGPAF && this.data_.Equals(other.data_) && this.EGHOACJOIEI == other.EGHOACJOIEI && this.fEIBKNDNJAH_.Equals(other.fEIBKNDNJAH_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005AD0 RID: 23248 RVA: 0x000F3DD8 File Offset: 0x000F1FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				num ^= this.FEJEDBDGPAF.GetHashCode();
			}
			num ^= this.data_.GetHashCode();
			if (this.EGHOACJOIEI != 0U)
			{
				num ^= this.EGHOACJOIEI.GetHashCode();
			}
			num ^= this.fEIBKNDNJAH_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005AD1 RID: 23249 RVA: 0x000F3E65 File Offset: 0x000F2065
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005AD2 RID: 23250 RVA: 0x000F3E6D File Offset: 0x000F206D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005AD3 RID: 23251 RVA: 0x000F3E78 File Offset: 0x000F2078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FEJEDBDGPAF != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.FEJEDBDGPAF);
			}
			this.data_.WriteTo(ref output, GetRogueEndlessActivityDataScRsp._repeated_data_codec);
			if (this.EGHOACJOIEI != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.EGHOACJOIEI);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			this.fEIBKNDNJAH_.WriteTo(ref output, GetRogueEndlessActivityDataScRsp._repeated_fEIBKNDNJAH_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005AD4 RID: 23252 RVA: 0x000F3F10 File Offset: 0x000F2110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FEJEDBDGPAF);
			}
			num += this.data_.CalculateSize(GetRogueEndlessActivityDataScRsp._repeated_data_codec);
			if (this.EGHOACJOIEI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EGHOACJOIEI);
			}
			num += this.fEIBKNDNJAH_.CalculateSize(GetRogueEndlessActivityDataScRsp._repeated_fEIBKNDNJAH_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005AD5 RID: 23253 RVA: 0x000F3FA4 File Offset: 0x000F21A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueEndlessActivityDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.FEJEDBDGPAF != 0U)
			{
				this.FEJEDBDGPAF = other.FEJEDBDGPAF;
			}
			this.data_.Add(other.data_);
			if (other.EGHOACJOIEI != 0U)
			{
				this.EGHOACJOIEI = other.EGHOACJOIEI;
			}
			this.fEIBKNDNJAH_.Add(other.fEIBKNDNJAH_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005AD6 RID: 23254 RVA: 0x000F402A File Offset: 0x000F222A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005AD7 RID: 23255 RVA: 0x000F4034 File Offset: 0x000F2234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 8U)
					{
						this.FEJEDBDGPAF = input.ReadUInt32();
						continue;
					}
					if (num == 18U)
					{
						this.data_.AddEntriesFrom(ref input, GetRogueEndlessActivityDataScRsp._repeated_data_codec);
						continue;
					}
					if (num == 24U)
					{
						this.EGHOACJOIEI = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 56U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 88U || num == 90U)
					{
						this.fEIBKNDNJAH_.AddEntriesFrom(ref input, GetRogueEndlessActivityDataScRsp._repeated_fEIBKNDNJAH_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002336 RID: 9014
		private static readonly MessageParser<GetRogueEndlessActivityDataScRsp> _parser = new MessageParser<GetRogueEndlessActivityDataScRsp>(() => new GetRogueEndlessActivityDataScRsp());

		// Token: 0x04002337 RID: 9015
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002338 RID: 9016
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04002339 RID: 9017
		private uint retcode_;

		// Token: 0x0400233A RID: 9018
		public const int FEJEDBDGPAFFieldNumber = 1;

		// Token: 0x0400233B RID: 9019
		private uint fEJEDBDGPAF_;

		// Token: 0x0400233C RID: 9020
		public const int DataFieldNumber = 2;

		// Token: 0x0400233D RID: 9021
		private static readonly FieldCodec<RogueEndlessAreaData> _repeated_data_codec = FieldCodec.ForMessage<RogueEndlessAreaData>(18U, RogueEndlessAreaData.Parser);

		// Token: 0x0400233E RID: 9022
		private readonly RepeatedField<RogueEndlessAreaData> data_ = new RepeatedField<RogueEndlessAreaData>();

		// Token: 0x0400233F RID: 9023
		public const int EGHOACJOIEIFieldNumber = 3;

		// Token: 0x04002340 RID: 9024
		private uint eGHOACJOIEI_;

		// Token: 0x04002341 RID: 9025
		public const int FEIBKNDNJAHFieldNumber = 11;

		// Token: 0x04002342 RID: 9026
		private static readonly FieldCodec<uint> _repeated_fEIBKNDNJAH_codec = FieldCodec.ForUInt32(90U);

		// Token: 0x04002343 RID: 9027
		private readonly RepeatedField<uint> fEIBKNDNJAH_ = new RepeatedField<uint>();
	}
}
